package com.angle.im.server.config.ws;

import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhangwei
 * @date 2019/4/19 16:36
 * @desc
 */
@ConditionalOnWebApplication
@Configuration
public class WebSocketConfigurator {

    /**
     * 自定义
     * @return
     */
    @Bean
    public CustomSpringConfigurator customSpringConfigurator() {
        return new CustomSpringConfigurator();
    }


}
